<script type="text/javascript" src="/res/back/frame/js/leftmenu.js"></script>
[#--最后一次点击的按钮--]
[#if lastf?? ]
<script>
	var lastf = "${lastf}";
	var f= lastf.split(",");
	addTab(f[0],f[1],f[2]);
</script>
[/#if]
<div style="background-color: #edece7;height: 100%;">

 <div class="navbar"  >
 [#include "date.html" /]
    <ul class="nav  nav-stacked left-menu" >
    [#if funcid??]
    [@frame_list pid=funcid ]
    	[#list functions as func ]
	<li><a href="${func.uri}"   onclick="return addTab('${func.name}','${func.uri}',[#if func.icon?? ]'${func.icon}'[#else]false[/#if])"  ><b id="icon_${func.id}" onclick="return chooseIcon(${func.id});"  class="${func.icon!}"  >&nbsp;&nbsp;&nbsp;&nbsp;</b>${func.name}<span class="selected" ></span></a></li>
	[/#list]
	[/@frame_list]
	[/#if]	
    </ul>
  </div>


[#--隐藏的iconos--]
<div id="for_icons" style="position: absolute; width: 100%; height: 100%; top: 0px; background: #ccc; display: none;">
	<div style="float: right; font-size: 25px; cursor: pointer;" onclick='$("#for_icons").fadeOut();' class="icon-remove"></div>
	<ul class="_icons" style="padding: 10px 5px 5px 5px;">
		<li style="float: left; font-size: 13px; cursor: pointer;">空</li> 
		[#list icons as icon ] 
			[#if icon_index >4]
			<li class="${icon}" style="cursor: pointer;"></li> 
		[/#if]
		 [/#list]
	</ul>
	<div style="text-align: center;">
		<b id="big_ico" style="font-size: 50px;"></b>
	</div>
</div>

</div>